import request from '@/utils/request'
import type { HotData } from '../types/hot'
type Data = {
  subType?: string
  pageSize?: number
  page?: number
}
// 获取特惠推荐
export const reqRecommend = (url: string, data?: Data) => {
  return request<HotData>({
    url,
    method: 'GET',
    data
  })
}
